package ModelLayer;

/** 
 * @author (Gruppe 5) 
 * @version (04-04-2013)
 */
public class PartOrder
{
    // fields
    private double amount;
    private Product p;

    /**
     * Constructor for objects of class PartOrder
     */
    public PartOrder(double amount, Product p)
    {
        this.amount=amount;
        this.p=p;
    }

    //getters and setters
    
	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}
	
	public Product getProduct()
	{
		return p;
	}
	
	public void setProduct(Product p)
	{
		this.p = p;
	}
}

    